package com.study.portal.service.impl;

import java.util.List;

import com.study.portal.dao.IBbsDao;
import com.study.portal.pojo.Bbs;
import com.study.portal.service.IBbsService;

public class BbsServiceImpl implements IBbsService {
    private IBbsDao bbsDao;

    public void setBbsDao(IBbsDao bbsDao) {
        this.bbsDao = bbsDao;
    }

    public int save(Bbs bbs) {
       return this.bbsDao.save(bbs);
    }

    public List<Bbs> queryList(Bbs queryForm) {
        
        return this.bbsDao.queryList(queryForm);
    }
}
